/**
 * 测试 phpstorm file watcher 编译 TypeScript
 *
 * @author Zeon scplay@gmail.com
 * @date 2018/5/22
 * @copyright Created by Panxsoft.
 */
import A from './mod/modA'

console.log(A);

function echo(age: number): string {
    return age * 365 + '2';
}

function never(): never {
    throw new Error();
}

function highOrderFunc(): () => void {
    return () => {};
}

class Panx {
    private age: number;
    public name;

    constructor() {
        this.name = 'PanxSoft';
        this.age = 1;
    }

    static isShow(): boolean{
        return true;
    }

    self(): this {
        return this;
    }
}

Panx.isShow();

console.log(name);

declare function require(mod_name: string): Object;

const c = require("123");

export default Panx;
